package com.zj.utils.internet;

/**
 * 网络请求地址管理
 * @author jiang zhu on 2019/4/20
 */
public class NetConfig {

    /**
     * 主地址
     */

    //public static String MAIN = "http://10.1.46.205:8080/pet/";
    //public static String MAIN = "http://10.0.2.2:8080/pet/";
    //public static String MAIN = "http://192.168.1.106:8080/pet/";
    //public static String MAIN = "http://192.168.191.1:8080/pet/";
    //public static String MAIN = "http://192.168.191.1:8080/pet/";
    public static String MAIN = "http://114.116.42.235:8088/Pet_war/";
    //public static String MAIN = "http://www.androidzhujiang.xyz/Pet_war/";
    public static String PHOTO_URL = "http://114.116.42.235:8088/wwwroot/";

    /**
     * 登录接口
     */
    public static String LOGIN = "user/getLogin";

    /**
     * 注册新用户接口
     */
    public static String REGISTER = "user/addUser";

    /**
     * 修改密码接口
     */
    public static String CHANGE_PASSWORD = "user/modifyUser";

    /**
     * 修改头像接口
     */
    public static String UPDATE_PHOTO = "user/updatePhoto";

    /**
     * 新增动态接口
     */
    public static String ADD_DYNAMIC = "dynamic/addDynamic";

    /**
     * 根据页码获取动态接口
     */
    public static String GET_DYNAMIC_BY_PAGE = "dynamic/getDynamics";


    /**
     * 根据主键删除动态接口
     */
    public static String DELETE_DYNAMIC_BY_DID = "dynamic/deleteDynamic";


    /**
     * 上传图片接口
     */
    public static String UP_FILE = "file/upFile";


    /**
     * 下载图片接口
     */
    public static String DOWN_FILE = "file/downFile";

    /**
     * 获取宠物萌图接口
     */
    public static String GET_CUTE_PICTURE = "cute/getCute";

}
